package simpleExample.moveGetter;public class Employee {	private EmployeeState type = new EmployeeState(Employee.ENGINEER);	private int _monthlySalary;	private int _commission;	private int _bonus;	public static final int ENGINEER = 0;	public static final int SALESMAN = 1;	public static final int MANAGER = 2;	public Employee (int type) {		set_type(type);	}	public int payAmount() {		switch (get_type()) {		case ENGINEER:			return _monthlySalary;		case SALESMAN:			return _monthlySalary + _commission;		case MANAGER:			return _monthlySalary + _bonus;		default:			throw new RuntimeException("Incorrect Employee");		}	}	public void set_type(int _type) {		this.type._type = _type;	}	public int get_type() {		return type._type;	}}